EMT Practice Test

1. Question Content...


Question List

Question1: FILL BLANK
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

Question2: Which of the following settings for umaskensures that new files have the default permissions -rw- r-----?

Question3: Which of the following commands will change the quota for a specific user?

Question4: FILL BLANK
Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)

Question5: Which of the following commands moves and resumes in the background the last stopped shell job?

Question6: When using rpm --verifyto check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)

Question7: How many fields are in a syntactically correct line of /etc/fstab?

Question8: When removing a package, which of the following dpkg options will completely remove the files including configuration files?

Question9: Which of the following is the device file name for the second partition on the only SCSI drive?

Question10: FILL BLANK
Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)

Question11: Which of the following commands can be used to determine how long the system has been running?
(Choose TWO correct answers.)

Question12: What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

Question13: What is the default nice level when a process is started using the nicecommand?

Question14: What does the command mount -ado?

Question15: Which of the following commands overwrites the bootloader located on /dev/sdawithout overwriting the partition table or any data following it?

Question16: Creating a hard link to an ordinary file returns an error. What could be the reason for this?

Question17: A user accidentally created the subdirectory \dirin his home directory. Which of the following commands will remove that directory?

Question18: Which RPM command will output the name of the package which supplied the file /etc/exports?

Question19: What is the purpose of the Filesystem Hierarchy Standard?

Question20: FILL BLANK
In which directory must definition files be placed to add additional repositories to yum?

Question21: Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

Question22: FILL BLANK
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Question23: Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

Question24: FILL BLANK
Which umask value will result in the default access permissions of 600 (rw-------)for files and 700 (rwx------)for directories? (Specify only the numerical umask value.)

Question25: Which of the following commands makes /bin/fooexecutable by everyone but writable only by its owner?

Question26: Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

Question27: Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?

Question28: Which of the following commands can be used to download the RPM package kernel without installing it?

Question29: Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

Question30: Which of the following commands can be used to display the inode number of a given file?

Question31: FILL BLANK
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Question32: Instead of supplying an explicit device in /etc/fstabfor mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

Question33: In Bash, inserting 1>&2after a command redirects

Question34: Which of the following is correct when talking about mount points?

Question35: Which of the following commands can be used to create a USB storage media from a disk image?

Question36: Which of the following commands updates the linker cache of shared libraries?

Question37: Which of the following commands prints all files and directories within the /tmpdirectory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

Question38: In compliance with the FHS, in which of the directories are man pages found?

Question39: In order to display all currently mounted filesystems, which of the following commands could be used?
(Choose TWO correct answers.)

Question40: What command will generate a list of user names from /etc/passwdalong with their login shell?

Question41: What is the maximum niceness value that a regular user can assign to a process with the nicecommand when executing a new process?

Question42: After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?

Question43: Which file should be edited to select the network locations from which Debian installation package files are loaded?

Question44: Which of the following environment variables overrides or extends the list of directories holding shared libraries?

Question45: Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?

Question46: What is the default action of the splitcommand on an input file?

Question47: When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?

Question48: What does the -purgeaction with the dpkgcommand do?

Question49: What does the command mount -ado?

Question50: Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

Question51: Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

Question52: Which of the following statements is correct regarding the command foo 1> bar?

Question53: What is the output of the following command?
echo "Hello World" | tr -d aieou

Question54: Which of the following file permissions belong to a symbolic link?

Question55: Which type of filesystem is created by mkfswhen it is executed with the block device name only and without any additional parameters?

Question56: FILL BLANK
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

Question57: Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

Question58: What is the purpose of the Bash built-in exportcommand?

Question59: In a nested directory structure, which findcommand line option would be used to restrict the command to searching down a particular number of subdirectories?

Question60: FILL BLANK
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon

Question61: Which of the following commands lists all currently installed packages when using RPM package management?

Question62: After successfully creating a hard link called barto the ordinary file foo, foois deleted from the filesystem. Which of the following describes the resulting situation?

Question63: Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?

Question64: Which function key is used to start Safe Mode in Windows NT?

Question65: Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

Question66: When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/filecontains data, why is /tmp/fileempty afterwards?

Question67: What is the difference between the iand acommands of the vi editor?

Question68: Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/ creation time and does NOT generate them as needed? (Choose TWO correct answers.)

Question69: Which of the following commands will send output from the program myappto both standard output (stdout) and the file file1.log?

Question70: FILL BLANK
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Question71: Which of the following commands changes the ownership of file.txtto the user danand the group staff?

Question72: Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

Question73: FILL BLANK
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)